Repository navigation
claude subagent attribution - #358
Merged
Merged
Conversation
davidabram
force-pushed
the
claude-subagent-attribution
branch
from
November 23, 2026 14:06
4d796dd to
49cbf8f
Compare
Define the staged plan for resolving Claude subagent models from local transcripts, seeding exact-scope state, and enriching patch attribution while preserving no-inheritance behavior. Plan: claude-subagent-attribution (T01-T04) Co-authored-by: SCE <sce@crocoder.dev>
davidabram
force-pushed
the
claude-subagent-attribution
branch
from
November 23, 2026 14:35
49cbf8f to
6945824
Compare
Document exact local evidence rules for Claude subagent model attribution, bounded transcript lookup, write-once provenance completion, and patch-part metadata. Update the plan and context map to register the accepted decision and complete T01 while preserving unresolved cases as NULL and preventing model inheritance. Plan: `context/plans/claude-subagent-attribution.md` Task: T01 Co-authored-by: SCE <sce@crocoder.dev>
Replace consumer-specific Claude attribution with one bounded resolver used by structured diff traces, preserving direct > transcript precedence and separating main-agent state/bridge fallback from subagent exact-transcript lookup. Add bounded transcript reading and subagent path derivation, then synchronize the hook contracts and plan documentation for the completed resolver task. Plan: `context/plans/claude-subagent-attribution.md` Task: T02 Co-authored-by: SCE <sce@crocoder.dev>
Claude mutation-scope admission now resolves model evidence through the shared resolver, while PostToolUse boundaries can fill a NULL model from exact direct or transcript evidence after durable close. Add the conditional store update, fail-open lifecycle handling, and regressions for precedence, idempotence, and missing evidence. Plan: `claude-subagent-attribution` — T03 Co-authored-by: SCE <sce@crocoder.dev>
Resolve Claude model and writer metadata from exact bounded transcript and meta-file evidence when building conversation-trace patch parts. Extend the patch model with backward-compatible optional attribution while keeping non-Claude producers and historical JSON unchanged. Complete the Claude subagent attribution plan's T04 implementation and synchronize its supporting context. Ref: context/plans/claude-subagent-attribution.md (T04) Co-authored-by: SCE <sce@crocoder.dev>
Ensure Claude subagent events resolve paths within matching session directories and keep patch attribution inline without changing its JSON shape. Add regression coverage for foreign-session paths and attribution round trips, and update the supporting context to document unordered provenance fills and the revised representation. Plan: claude-subagent-attribution (T02, T03, T04) Co-authored-by: SCE <sce@crocoder.dev>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.